package com.css.fxfzaqbz.modules.assess2.repository;

import com.css.fxfzaqbz.modules.assess2.entity.TaskContent;
import com.css.fxfzaqbz.modules.assess2.entity.UrgencysettleData;

import java.sql.Timestamp;
import java.util.List;

public interface UrgencysettleDataRepository {

    UrgencysettleData getUrgencysettleDataByContent(String udContent, String udRelation);

    void deleteUrgencysettleData(String udId, String userId, Timestamp currentTimestamp);

    void saveUrgencysettleData(UrgencysettleData urgencysettleData);

    UrgencysettleData getUrgencysettleData(String id);

    UrgencysettleData getUrgencysettleDataById(String id);

    UrgencysettleData updateUrgencysettleData(UrgencysettleData urgencysettleData);

    List<TaskContent> getUrgencysettleData1(String id);

    List<UrgencysettleData> getUrgencysettleDataByIaId(String id);

    List<UrgencysettleData> getUrgencysettleDataByActiveId(String id);

    List<UrgencysettleData> check(UrgencysettleData urgencysettleData);

    List<UrgencysettleData> getByEntity(UrgencysettleData urgencysettleData);

    void submitResult(String id, String description);

    void saveDescription(List<String> ids, String description);

    void removeResult(String id, String description);

    void finalSubmission(List<String> ids, String userName, String mobilePhone,Timestamp currentTimestamp);

    List<UrgencysettleData> getAzByIaId(String iaId);

    List<UrgencysettleData> getUrgencysettleDataByIaIdAndType(String iaId, String xjjaz);

    UrgencysettleData getUrgencyByIaId(String iaId);

    int getNumber(UrgencysettleData urgencysettleData);

    void deleteTJ(String udRelation, Timestamp currentTimestamp, String userIDd);

    Boolean getNum(String iaId);
}
